package com.sure.supermarketserver.security.home;

import com.sure.supermarketserver.common.CurrentUser;
import com.sure.supermarketserver.security.home.HomeDto;

import java.util.List;
import java.util.Map;

public interface HomeService {
    List<MenuVO> getMenus(CurrentUser currentUser);
    void setAvatar(CurrentUser currentUser, String filename);
    //查询
    Map<String, Object> getHomeList(HomeDto dto);

    //增加
    void addHome(HomeDto dto);

    //修改
    void updateHome(HomeDto dto);

    //删除
    void deleteHome(Integer id);

}
